package com.opennews.openplatform.familyexpenseapi.dto.user

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.Size

@JsonIgnoreProperties(ignoreUnknown = true)
class UpdateUserDto {
    @field:NotBlank(message = "fullName can't be blank")
    @field:Size(max = 50, message = "fullName must be at most 50 characters")
    lateinit var fullName: String

    @field:Size(max = 200, message = "description must be at most 200 characters")
    lateinit var description: String
}